package com.ykg.pojo;


import io.swagger.annotations.ApiModel;
import lombok.*;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor

@ApiModel("卸货清单")
public class ListCharge {

    private String listId;
    private Float quantity;
    private Date sdate;
    private Date fdate;
    private int state;
    private  Long shipId;
    private Long ownerId;

    public ListCharge(String listId, Float quantity, Long shipId, Long ownerId) {
        this.listId = listId;
        this.quantity = quantity;
        this.state = 0;
        this.shipId = shipId;
        this.ownerId = ownerId;
        this.sdate = new Date();
    }


}
